package com.seed.core.configuration;

import com.fasterxml.jackson.annotation.JsonInclude;

import java.util.Map;

@JsonInclude(JsonInclude.Include.NON_NULL)
public class HomeConfiguration extends IconConfiguration {
    protected String name;
    protected String mode; // 界面显示模式： popup: 弹窗显示, content: 内容区显示
    protected String label;
    protected String comment;
    protected String component;
    protected LayoutConfiguration layout;
    protected Map<String, Object> componentProps;
    protected Map<String, Object> popupProps;
    protected Boolean affix;
    protected Boolean hidden;
    protected Boolean breadcrumb;
    protected Boolean noTagsView;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getMode() {
        return mode;
    }

    public void setMode(String mode) {
        this.mode = mode;
    }

    public String getLabel() {
        return label;
    }

    public void setLabel(String label) {
        this.label = label;
    }

    public String getComment() {
        return comment;
    }

    public void setComment(String comment) {
        this.comment = comment;
    }

    public String getComponent() {
        return component;
    }

    public void setComponent(String component) {
        this.component = component;
    }

    public LayoutConfiguration getLayout() {
        return layout;
    }

    public void setLayout(LayoutConfiguration layout) {
        this.layout = layout;
    }

    public Map<String, Object> getComponentProps() {
        return componentProps;
    }

    public void setComponentProps(Map<String, Object> componentProps) {
        this.componentProps = componentProps;
    }

    public Map<String, Object> getPopupProps() {
        return popupProps;
    }

    public void setPopupProps(Map<String, Object> popupProps) {
        this.popupProps = popupProps;
    }

    public Boolean getAffix() {
        return affix;
    }

    public void setAffix(Boolean affix) {
        this.affix = affix;
    }

    public Boolean getHidden() {
        return hidden;
    }

    public void setHidden(Boolean hidden) {
        this.hidden = hidden;
    }

    public Boolean getBreadcrumb() {
        return breadcrumb;
    }

    public void setBreadcrumb(Boolean breadcrumb) {
        this.breadcrumb = breadcrumb;
    }

    public Boolean getNoTagsView() {
        return noTagsView;
    }

    public void setNoTagsView(Boolean noTagsView) {
        this.noTagsView = noTagsView;
    }
}
